package com.hzy.orderSystem.dao;

import com.hzy.orderSystem.entities.Record;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 小宝
 * @create 2021/4/17 11:04
 */
@Mapper
public interface RecordDao {

    public int save(Record record);

    public List<Record> getRecordsByOid(@Param("oid") Long oid);

    public List<Record> getRecentRecords(@Param("oid") Long oid);
}
